<?php if (!defined('THINK_PATH')) exit(); /*a:6:{s:74:"D:\phpstudy_pro\WWW\shao.gov.cn/application/admin\view\mk\users\index.html";i:1689648056;s:73:"D:\phpstudy_pro\WWW\shao.gov.cn\application\admin\view\template\base.html";i:1679567630;s:84:"D:\phpstudy_pro\WWW\shao.gov.cn\application\admin\view\template\javascript_vars.html";i:1679567630;s:73:"D:\phpstudy_pro\WWW\shao.gov.cn\application\admin\view\mk\users\form.html";i:1679567630;s:71:"D:\phpstudy_pro\WWW\shao.gov.cn\application\admin\view\mk\users\th.html";i:1679567630;s:71:"D:\phpstudy_pro\WWW\shao.gov.cn\application\admin\view\mk\users\td.html";i:1679567630;}*/ ?>
﻿<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <title><?php echo \think\Config::get('site.title'); ?></title>
    <link rel="Bookmark" href="/favicon.ico" >
    <link rel="Shortcut Icon" href="/favicon.ico" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="/public/static/admin/lib/html5.js"></script>
    <script type="text/javascript" src="/public/static/admin/lib/respond.min.js"></script>
    <script type="text/javascript" src="/public/static/admin/lib/PIE_IE678.js"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="/public/static/admin/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="/public/static/admin/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="/public/static/admin/lib/Hui-iconfont/1.0.7/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="/public/static/admin/lib/icheck/icheck.css"/>
    <link rel="stylesheet" type="text/css" href="/public/static/admin/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="/public/static/admin/h-ui.admin/css/style.css"/>
    <link rel="stylesheet" type="text/css" href="/public/static/admin/css/app.css"/>
    <link rel="stylesheet" type="text/css" href="/public/static/admin/lib/icheck/icheck.css"/>
    
    <!--[if IE 6]>
    <script type="text/javascript" src="/public/static/admin/lib/DD_belatedPNG_0.0.8a-min.js"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <!--定义JavaScript常量-->
<script>
    window.THINK_ROOT = '<?php echo \think\Request::instance()->root(); ?>';
    window.THINK_MODULE = '<?php echo \think\Url::build("/" . \think\Request::instance()->module(), "", false); ?>';
    window.THINK_CONTROLLER = '<?php echo \think\Url::build("___", "", false); ?>'.replace('/___', '');
</script>
</head>
<body>

<nav class="breadcrumb">
    <div id="nav-title"></div>
    <a class="btn btn-success radius r btn-refresh" style="line-height:1.6em;margin-top:3px" href="javascript:;" title="刷新"><i class="Hui-iconfont"></i></a>
</nav>


<div class="page-container">
    <form class="mb-20" method="get" action="<?php echo \think\Url::build(\think\Request::instance()->action()); ?>">
    <input type="text" class="input-text" style="width:250px" placeholder="姓名" name="name" value="<?php echo \think\Request::instance()->param('name'); ?>">
<!--    <input type="text" class="input-text" style="width:250px" placeholder="帐号" name="account" value="<?php echo \think\Request::instance()->param('account'); ?>">-->
    <input type="text" class="input-text" style="width:250px" placeholder="邮箱" name="email" value="<?php echo \think\Request::instance()->param('email'); ?>">
    <input type="text" class="input-text" style="width:250px" placeholder="手机" name="phone" value="<?php echo \think\Request::instance()->param('phone'); ?>">
    <button type="submit" class="btn btn-success" id="" name=""><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
</form>
    <div class="cl pd-5 bg-1 bk-gray">
        <span class="l">
            <?php if (\Rbac::AccessCheck('resume')) : ?><a href="javascript:;" onclick="resume_all('<?php echo \think\Url::build('resume', []); ?>')" class="btn btn-success radius mr-5"><i class="Hui-iconfont">&#xe615;</i> 恢复</a><?php endif; ?>
        </span>
        <span class="r pt-5 pr-5">
            共有数据 ：<strong><?php echo $count; ?></strong> 条
        </span>
    </div>
    <table class="table table-border table-bordered table-hover table-bg mt-20">
        <thead>
        <tr class="text-c">
            <th width="25"><input type="checkbox" value="" name=""></th>
<th width="50"><?php echo sort_by('ID','id'); ?></th>
<th width="80">姓名</th>
<th width="100">用户头像</th>
<th width="100">手机号</th>
<th width="100">邮箱</th>
<th width="80"><?php echo sort_by('添加时间','create_time'); ?></th>
<th width="150"><?php echo sort_by('最后登录时间','last_time'); ?></th>
<th width="60"><?php echo sort_by('登录次数','login_count'); ?></th>
<th width="30">状态</th>
<th width="80">备注</th>
            <th width="100">操作</th>
        </tr>
        </thead>
        <tbody>
        <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <tr class="text-c">
            <td><input type="checkbox" name="id[]" value="<?php echo $vo['id']; ?>"></td>
<td><?php echo $vo['id']; ?></td>
<td><?php echo high_light($vo['name'],\think\Request::instance()->param('name')); ?></td>
<td>
    <div class="thumb" >
        <a href="http://<?php echo \think\Request::instance()->host(); ?>/public<?php echo $vo['avatar']; ?>" data-lightbox="example-1">
            <img src="http://<?php echo \think\Request::instance()->host(); ?>/public<?php echo $vo['avatar']; ?>">
        </a>
    </div>
</td>
<td><?php echo high_light($vo['phone'],\think\Request::instance()->param('phone')); ?></td>
<td><?php echo high_light($vo['email'],\think\Request::instance()->param('email')); ?></td>
<td><?php echo date('Y-m-d H:i:s',$vo['create_time']); ?></td>
<td><?php echo date('Y-m-d H:i:s',$vo['last_time']); ?></td>
<td><?php echo $vo['login_count']; ?></td>
<td><?php echo get_status($vo['status']); ?></td>
<td><?php echo $vo['comment']; ?></td>
            <td class="f-14">
                <?php echo show_status($vo['status'],$vo['id']); ?>
                <!--<?php if (\Rbac::AccessCheck('edit')) : ?> <a title="编辑" href="javascript:;" onclick="layer_open('编辑','<?php echo \think\Url::build('edit', ['id' => $vo["id"], ]); ?>')" style="text-decoration:none" class="ml-5"><i class="Hui-iconfont">&#xe6df;</i></a><?php endif; ?>-->
                <?php if (\Rbac::AccessCheck('password')) : ?> <a title="修改密码" href="javascript:;" onclick="layer_open('修改密码','<?php echo \think\Url::build('password', ['id' => $vo['id'], ]); ?>')" class="label radius ml-5 label-secondary">修改密码</a><?php endif; ?>
            </td>
        </tr>
        <?php endforeach; endif; else: echo "" ;endif; ?>
        </tbody>
    </table>
    <div class="page-bootstrap"><?php echo $page; ?></div>
</div>

<script type="text/javascript" src="/public/static/admin/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="/public/static/admin/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="/public/static/admin/h-ui/js/H-ui.js"></script>
<script type="text/javascript" src="/public/static/admin/h-ui.admin/js/H-ui.admin.js"></script>
<script type="text/javascript" src="/public/static/admin/js/app.js"></script>
<script type="text/javascript" src="/public/static/admin/lib/icheck/jquery.icheck.min.js"></script>

<link rel="stylesheet" type="text/css" media="screen" href="/public/static/admin/lib/lightbox2/css/lightbox.css" />
<script type="text/javascript" src="/public/static/admin/lib/lightbox2/js/lightbox.js"></script>

</body>
</html>